package com.example.wangning.mycarofcountry.base;

import android.app.Application;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.widget.TextView;

import com.baidu.location.BDLocation;
import com.baidu.location.BDLocationListener;
import com.baidu.location.LocationClient;


import cn.jpush.android.api.JPushInterface;

/**
 * Created by dllo on 15/10/21.
 */
public class BaseApplication extends Application{
    private static Context context;


    @Override
    public void onCreate() {
        super.onCreate();
        context = this;
        //极光推送初始化
        JPushInterface.setDebugMode(true);
        JPushInterface.init(this);

    }

    public static Context getContext() {
        return context;
    }




}
